package com.xinhe.cn.cpbox.entity.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 接收纸条记录
 * </p>
 *
 * @author LHB
 * @since 2021-10-09
 */
@Data
@TableName("scrip_get")
public class ScripGet implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 接收纸条记录的id
     */
    @TableId(value = "get_id", type = IdType.AUTO)
    private Long getId;

    /**
     * 字符串类型：0/1，男/女
     */
    @TableField("type")
    private String type;

    /**
     * 接收人openid
     */
    @TableField("get_user_id")
    private String getUserId;

    /**
     * 接收的纸条的id
     */
    @TableField("scrip_id")
    private Long scripId;

    /**
     * 接收时间
     */
    @TableField("get_time")
    private String getTime;
}
